package com.zzt.lotterysystem.service.activitystatus;

import com.zzt.lotterysystem.service.dto.ConvertActivityStatusDTO;

/**
 * Created with IntelliJ IDEA.
 * Description
 * User: panda
 * Date: 2025-05-29
 * Time: 16:15
 */
public interface ActivityStatusManager {
    /**
     * 处理活动状态转换
     */
    void handleEvent(ConvertActivityStatusDTO activityStatusDTO);

    /**
     * 回滚处理活动状态转换
     */
    void rollbackHandleEvent(ConvertActivityStatusDTO convertActivityStatusDTO);
}
